package com.zqwm.fly.model;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * Created by songyifei on 2018-06-08.
 */
@Data
@Document(indexName = "zqwm",type = "recipe", shards = 1,replicas = 0, refreshInterval = "-1")
public class Recipe
{
    /**展示图片*/
    private String albums[];
    /**描述*/
    private String imtro;
    /**材料*/
    private String ingredients;
    /**ID*/
    private long id;
    /**名称*/
    private String title;
    /**标签*/
    private String tags;
    /**佐料*/
    private String burden;
}
